<html>
<title>{Aplicacion}</title>
<link href="adm_est.css" rel="stylesheet" type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<body leftmargin="0" topmargin="0">
<table width="800" border="1" bordercolor="#{ColorCorp}" cellspacing="0" align="center">
  <tr valign="middle" bgcolor="#{ColorCorp}">
  	<td width="75">
		<input class="normal" type="button" name="cmdSalir" value="Panel" onClick="javascript:window.location='panel.php'"> 
	</td>
    <td class="titulo_mn" align="center">
		<b>RESIDENCIAS</b>
	</td>
		<form name="form2" method="post" action="{PaginaDestino}">
    <td width="250" class="normal_b">
		Ordenado por:{Orden}
		<input class="normal_p" name="cmdOrdenar" type="submit" value="Ver">
	</td>
		</form>
		<form name="form2" method="post" action="{PaginaDestino}">
    <td width="60">
		<input type="hidden" name="cmd" value="{ComandoAgregar}">
		<input class="normal_p" name="cmdAgregar" type="submit" value="Agregar">
	</td>
		</form>
  </tr>
</table>

<table width="800" border="1" bordercolor="#{ColorCorp2}" cellspacing="0" align="center">
  <!-- BEGIN FILA -->
  {Operador}
  {CabLeyenda}
  <tr class="normal" bgcolor="#FFFFFF"> 
    <td align="right" class="normal_p">{IdResidencia}</td>
    <td align="center">{Codigo}</td>
    <td>{Nombre}</td>
	<td>{Seccion}</td>
    <td>{Comite}</td>
    <td align="right">{NumAgentes}</td>
    <td align="right">{NumAfiliados}</td>
	<form method="post" action="{PaginaDestinoFila}">
    <td width="62" valign="top">
	  	<input type="hidden" name="cmd" value="{ComandoModificar}"> 
        <input type="hidden" name="id" value="{IdResidencia}"> 
		<input type="submit" name="Submit" value="Modificar" class="normal_p"> 
	</td>
	</form>
   	<form method="post" action="{PaginaDestinoFila}">
      <td width="59" valign="top"> 
	  	<input type="hidden" name="cmd" value="{ComandoEliminar}"> 
        <input type="hidden" name="id" value="{IdResidencia}">
		<input type="submit" name="Submit" value="Eliminar" class="normal_p"> 
      </td>
    </form>
   </tr>
  <!-- END FILA -->
 
  <tr bgcolor="#{ColorCorp2}"> 
    <td colspan="9" height="3"></td>
  </tr>
</table>
</body>
</html>
